home *** CD-ROM | disk | FTP | other *** search
- # NMAKE file for the SoftMagic LANutils
- # Requires: Microsoft C 4.0 or higher
- # MASM 5.1 or higher
- # a compatible LINK utility
- # the EXEMOD utility
- # the EXE2BIN utility
-
- compile=cl -c /AC /Zp1 /DLINT_ARGS=1 $*.c
- link=link /STACK:4096
- assemble=masm $*.asm;
-
- #
- # Targets
- #
- ALL: login.exe logout.exe waitfor.exe fastnet.exe mset.exe userlist.exe\
- message.com intercom.com rxm.com nrun.exe nbounce.exe nreboot.exe\
- finduser.exe senduser.exe system.exe
-
- lantasti.obj: lantasti.asm
- $(assemble)
-
- # LOGIN PROGRAM
- login.obj: login.c
- $(compile)
-
- login.exe: login.obj lantasti.obj
- $(link) login lantasti;
- exemod login /max 0
-
- # LOGOUT PROGRAM
- logout.obj: logout.c
- $(compile)
-
- logout.exe: logout.obj lantasti.obj
- $(link) logout lantasti;
-
- # WAITFOR PROGRAM
- waitfor.obj: waitfor.c
- $(compile)
-
- waitfor.exe: waitfor.obj lantasti.obj
- $(link) waitfor lantasti;
-
- # FASTNET PROGRAM
- lanctl.obj: lanctl.asm
- $(assemble)
-
- fastnet.obj: fastnet.c
- $(compile)
-
- fastnet.exe: fastnet.obj lanctl.obj lantasti.obj
- $(link) fastnet lanctl lantasti;
-
- # MSET PROGRAM
- mset.obj: mset.c
- $(compile)
-
- mset.exe: mset.obj
- link mset;
-
- # USERLIST PROGRAM
- userlist.obj: userlist.c
- $(compile)
-
- userlist.exe: userlist.obj lantasti.obj
- $(link) userlist lantasti;
-
- # MESSAGE PROGRAM
- message.obj: message.asm
- $(assemble)
- link message;
- com message
-
- # INTERCOM PROGRAM
- intercom.obj: intercom.asm
- $(assemble)
- link intercom;
- com intercom
-
- # RESIDENT EXTENSIONS
- rxm.obj: rxm.asm
- $(assemble)
- link rxm;
- com rxm
-
- # NetRUN
- nrun.obj: nrun.c
- $(compile)
-
- nrun.exe: nrun.obj
- link nrun lantasti;
-
- # NetBOUNCE
- nbounce.obj: nbounce.c
- $(compile)
-
- nbounce.exe: nbounce.obj
- link nbounce lantasti;
-
- # NetReboot
- nreboot.obj: nreboot.c
- $(compile)
-
- nreboot.exe: nreboot.obj
- link nreboot lantasti;
-
- # FINDUSER PROGRAM
- finduser.obj: finduser.c
- $(compile)
-
- finduser.exe: finduser.obj
- $(link) finduser lantasti;
-
- # SENDUSER PROGRAM
- senduser.obj: senduser.c
- $(compile)
-
- senduser.exe: senduser.obj
- $(link) senduser lantasti;
-
- # SYSTEM PROGRAM
- system.obj: system.c
- $(compile)
-
- chkhdw.obj: chkhdw.asm
- $(assemble)
-
- hardware.obj: hardware.c
- $(compile)
-
- system.exe: system.obj hardware.obj chkhdw.obj
- $(link) system hardware chkhdw;
- exemod system /max 0
-